<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!--顶栏-->
<header>
    <div style="float:left;"><img src="/static/admin/img/tubiao.png" width="152" height="55"/></div>
    <div style="float: right">
        <h1 style="font-size: 16px;width: 200px;">欢迎您: ${sessionScope.nowUser}</h1>
        <i class="layui-icon  layui-anim layui-anim-rotate layui-anim-loop"
           style="font-size: 30px; color: #969baa;">&#xe614;</i>&nbsp; &nbsp; &nbsp;
    </div>
</header>
<%
    HttpSession s = request.getSession();
    Object nowuser=s.getAttribute("nowUser");
    if(nowuser==null){
        response.getWriter().write("<script>alert('没有登录!');location.href='/login.jsp';</script>");
    }
%>
